Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Activity (RSS)

Tuesday, August 19 2008
7 rake spec:plugin fails on rails 2.1 was updated
  • Lar Van Der Jagt
    Lar Van Der Jagt commented at 2:08 PM

    I filed a ticket on rspec, and also found a temporary workaround. I added the following to the end of line 58 in the lib/tasks/rspec.rake file generated from rs...

  • mrflip
    mrflip commented at 1:35 PM

    The error on make_resourceful looks different, but yeah -- it looks like for rest_auth it's running them as plugin specs. If there's a convention for renaming ...

  • mrflip
    mrflip commented at 1:31 PM

    The error on make_resourceful looks different, but yeah -- it looks like for rest_auth it's running them as plugin specs. If there's a convention for renaming ...

  • Lar Van Der Jagt
    Lar Van Der Jagt commented at 1:25 PM

    So RSpec is just finding the generators for restful_auth specs and running them as actual plugin specs?

    I will see what I can do about reporting this to the RS...

  • mrflip
    • State changed from open to hold
    • Tag changed from template to generator, rspec, template
    by mrflip at 1:19 PM

    Exactly -- they are not meant to be run by the specs (being as they are .erb files)

    This feels like a bug in either rspec or rails generators, not rest_auth. ...

4 earlier changes…
  • Lar Van Der Jagt
    Lar Van Der Jagt commented at 10:13 AM

    Yes, it is trying to run the files in that directory. Renaming it seems to stop the restful_auth errors, but it looks like make_resourceful is acting up as well...

  • mrflip
    • State changed from new to open
    by mrflip at 9:44 AM
  • mrflip
    mrflip commented at 9:44 AM

    Is it trying to run the files in the gen/auth'd/templates/spec directory?

    Would you try renaming that directory to spec_t or foo or something and retrying?

  • Lar Van Der Jagt
    Lar Van Der Jagt created the ticket at 3:07 AM

    I am trying to test my plugins and it seems there are some problems with the specs for the generators. I am able to run the generator fine & all tests pass with...

1 HAML Templates: Pro or Con was updated
  • Lar Van Der Jagt
    Lar Van Der Jagt commented at 2:31 AM

    +1 both on this being pulled in & for the optional generator approach.

    It looks like this is in Zach's fork already, can we get it merged in properly?

Monday, August 18 2008
5 using http basic authentication with IE - not working was updated
  • mrflip
    mrflip commented at 10:46 AM

    Assuming it takes the wrong path thru that method, BTW, the thing to look at (as far as I know) is stuff like the MIME type of the request and the 'accepts' hea...

  • mrflip
    mrflip commented at 10:44 AM

    I think filter_chain halted just refers to the before_filter that enforces logins.

    I'm now mostly wondering if something different in the HTTP request is fooli...

  • Brian Evans
    Brian Evans commented at 10:05 AM

    This is what happens when I use FireFox and access the same page - and it works - redirects me to the login page (even on windows):

    Processing SessionsControll...

  • Brian Evans
    Brian Evans commented at 10:02 AM

    Also, here is what is logged in the production.log. I am not sure what "filter chain halted" means:

    Processing DashboardController#index (for XX.XX.XX.XX at 2...

  • Brian Evans
    Brian Evans commented at 9:48 AM

    Another thing I noticed, is that if I go to domain.com/admin (which has the before_filter on it), I get the login screen, doesn't redirect me to the login scrip...

3 earlier changes…
  • Brian Evans
    Brian Evans commented at 9:46 AM

    thanks for the suggestions, I will do some more testing and see what I can find out.

    I work on a mac most of the time, and everything worked fine until it went...

  • mrflip
    mrflip commented at 9:00 AM

    Lemme expand on the above:

    • I don't understand why it's asking for basic auth in the first place. This is supposed to be governed by the http request somehow....

  • mrflip
    • State changed from new to open
    • Tag set to bug, ie, windows
    by mrflip at 8:55 AM

    Hmm -- I am going to be of little help debugging this since I am a mac weenie. You may want to see if you can recruit another windows user from the #rails IRC ...

6 acts_as_state_machine needed was updated
  • mrflip
    • State changed from new to resolved
    • Tag changed from acts_as_state_machine, install, stateful to aasm, acts_as_state_machine, install, stateful
    by mrflip at 8:46 AM

    aasm seems to be the People's Choice -- see the notes under the --aasm flag.

    
    if options[:aasm]
     puts "- Install the acts_as_state_machine gem:"
     puts "    sud...
Sunday, August 17 2008
6 acts_as_state_machine needed was created
  • cbs
    cbs created the ticket at 8:13 PM

    I'm setting up my first go w/RESTful authentication, and following the INSTALL section of the README, i executed the script/generate authenticated user sessions...

1 HAML Templates: Pro or Con was updated
  • Zach Inglis
    Zach Inglis commented at 6:48 PM

    In response to making this a separate generator, I am up for that.

  • mrflip
    mrflip commented at 6:46 PM

    I've thought about this more, and if Zach (or anyone) is willing to move the HAML views into their own tiny little generator that would work. A separate generat...

2 “not a valid constant name” errors was updated
  • cbs
    cbs commented at 1:43 PM

    thanks, mrflip, i'm getting much better now...

  • mrflip
    mrflip commented at 12:45 PM

    Just rename the folder

    • vendor/plugins/authentication-plugin

    to have underscore (not dash):

    • vendor/plugins/authentication_plugin

    The bug is on 'hold' b...

  • cbs
    cbs commented at 12:32 PM

    ok, so what's are we supposed to do to make this work, please? I have just done a first-time install of the github into a virgin project to try this out and get...

Thursday, August 14 2008
4 Problems with rspec stories was updated
  • SideBurns
    SideBurns commented at 11:53 PM

    Ok, I have removed all the stories but the one causing the problem. Here is the test log from that one story:

    Processing SessionsController#destroy (for 127.0....

  • mrflip
    • State changed from new to open
    by mrflip at 12:23 PM

    This is testing whether the account has changed -- if I try to sign up as flip and there is already a user "flip" then nothing should change in the "flip" insta...

  • SideBurns
    SideBurns created the ticket at 10:46 AM

    I just installed the newest version of restful authen. a couple of days ago, however, I am getting some problems with the stories. Here is the error:

    FAILURES:

    ...
5 using http basic authentication with IE - not working was created
  • Brian Evans
    Brian Evans created the ticket at 5:38 PM

    This is the first time I have used RA, but when I installed and configured everything, if I use Firefox, everything works fine - I am redirected to /sessions/ne...

1 HAML Templates: Pro or Con was updated
  • mrflip
    • State changed from new to hold
    by mrflip at 12:27 PM
2 “not a valid constant name” errors was updated
  • mrflip
    • State changed from new to hold
    by mrflip at 12:26 PM
3 activation email template broken in edgerails was updated
  • mrflip
    • State changed from new to open
    by mrflip at 12:24 PM

    Cool, I'll make that update. Thanks for doing the legwork!

Wednesday, August 13 2008
3 activation email template broken in edgerails was updated
  • Lewis Hoffman
    Lewis Hoffman commented at 11:53 AM

    I worked around this by changing the template from .../signup_notification.html.erb to .../signup_notification.erb

    might want to consider changing this in t...

  • Lewis Hoffman
    Lewis Hoffman commented at 11:20 AM

    Source of the problem is this change in rails: http://github.com/rails/rails/co...

    so it's not a restful auth bug, can close this ticket.

  • Lewis Hoffman
    Lewis Hoffman commented at 11:08 AM

    Since I need rails 2.2 for the i18n on a current project, I'm gonna dig in and see if I can figure out a solution.

  • Lewis Hoffman
    Lewis Hoffman created the ticket at 11:07 AM

    In rails 2.2, the activation email on account creation seems not to use the template, but instead is just the available variables crammed together. the attachm...

Friday, August 08 2008
2 “not a valid constant name” errors was updated
  • mrflip
    mrflip commented at 3:39 PM

    The problem with renaming the github repository is that every watching user on github would have to un- and then re-subscribe to it -- and it is the second-most...

  • mrflip
    mrflip created the ticket at 3:38 PM

    (cut from the wiki on github):

    If you get this error:

    NameError ("Plugins::Restful-authentication::Lib" is not a valid constant name!)

    ...rename vendor/plugi...

1 HAML Templates: Pro or Con was created
  • mrflip
    mrflip created the ticket at 3:17 PM

    Zachinglis (http://github.com/zachinglis/res... has put in a patch to add HAML templates. I think this should be pointed to and not pulled into mainline: genera...

Home was created by mrflip in Restful Authentication at 3:16 PM